package com.xmhmyh.generalframework.common.enums;

/**
 * @Author: 于丁
 * 输出操作记录的操作类型
 * @DateTime: 2020/6/28 2:23 下午
 */
public enum LogBusType implements BaseEnums {
    UNKNOW(0, "未知"),
    EDITANDSAVE(1, "编辑/保存"),
    DELETE(2, "删除"),
    ACTIVATION(3, "激活"),
    FREEZE(4, "冻结"),
    RESET_PASSWORD(5, "重置密码"),
    IMPORT(6, "导入"),
    GEN(7, "生成"),
    EDIT_PASSWORD(8, "修改密码"),
    ;

    LogBusType(int value, String label) {
        this.value = value;
        this.label = label;
    }

    private int value;
    private String label;


    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
